package com.ruoyi.system.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.Renwu;
import com.ruoyi.system.domain.Shiwu;
import com.ruoyi.system.domain.Zhuanjia;
import com.ruoyi.system.domain.ZhuanjiaDept;

/**
 * 【请填写功能名称】Service接口
 * 
 * @author ruoyi
 * @date 2024-06-19
 */
public interface IRenwuService 
{
    /**
     * 查询【请填写功能名称】
     * 
     * @param renwuid 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    public boolean submit_custom(Renwu ppRenwu, Shiwu ppShiwu);

    public List<Map<String,Object>> existShenhezhongShiwuByZhuanjiaId(String ppZhuanjiaId);

    public int getMaxOrdernumByShiwuId(String pp事务id);


    public Renwu selectRenwuByRenwuid(String renwuid);

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param renwu 【请填写功能名称】
     * @return 【请填写功能名称】集合
     */
    public List<Renwu> selectRenwuList(Renwu renwu);

    /**
     * 新增【请填写功能名称】
     * 
     * @param renwu 【请填写功能名称】
     * @return 结果
     */
    public int insertRenwu(Renwu renwu);

    /**
     * 修改【请填写功能名称】
     * 
     * @param renwu 【请填写功能名称】
     * @return 结果
     */
    public int updateRenwu(Renwu renwu);

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param renwuids 需要删除的【请填写功能名称】主键集合
     * @return 结果
     */
    public int deleteRenwuByRenwuids(String renwuids);

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param renwuid 【请填写功能名称】主键
     * @return 结果
     */
    public int deleteRenwuByRenwuid(String renwuid);

    public List<Map<String,Object>> findBdShenheListByDept(String shenpideptid,
                                                           int shifoutongguo,
                                                           int shifouwancheng,
                                                           String biandongleixing,
                                                           String deptname,
                                                           String xingming,
                                                           String xiafashijiankaishi,
                                                           String xiafashijianjieshu,
                                                           String wanchengshijiankaishi,
                                                           String wanchengshijianjieshu,
                                                           int ppPageIndex,
                                                           int ppPageSize);

    public int countBdShenheListByDept(String shenpideptid,
                                            int shifoutongguo,
                                            int shifouwancheng,
                                            String biandongleixing,
                                            String deptname,
                                            String xingming,
                                            String xiafashijiankaishi,
                                            String xiafashijianjieshu,
                                            String wanchengshijiankaishi,
                                            String wanchengshijianjieshu);

    public List<Map<String,Object>> findspjl(String ppShiwuId);

    public boolean shenpi(Renwu oldrenwu, Renwu newRenwu, Shiwu ppShiwu, Zhuanjia ppZhuanjia);
    public boolean shenpiZl(Renwu oldrenwu, Renwu newRenwu, Shiwu ppShiwu, ZhuanjiaDept oldZhuanjiadept,ZhuanjiaDept newZhuanjiadept,Zhuanjia oldzhuanjia,Zhuanjia newZhuanjia);

}
